package com.cskaoyan.mapper;

import com.cskaoyan.bean.GrouponRecord;
import com.cskaoyan.bean.GrouponRecordExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface GrouponRecordMapper {
    long countByExample(GrouponRecordExample example);

    int deleteByExample(GrouponRecordExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(GrouponRecord record);

    int insertSelective(GrouponRecord record);

    List<GrouponRecord> selectByExample(GrouponRecordExample example);

    GrouponRecord selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") GrouponRecord record, @Param("example") GrouponRecordExample example);

    int updateByExample(@Param("record") GrouponRecord record, @Param("example") GrouponRecordExample example);

    int updateByPrimaryKeySelective(GrouponRecord record);

    int updateByPrimaryKey(GrouponRecord record);

    Integer exitId(Integer orderId);
}